package com.kky.pp.util

object DoubleClickUtils {
    private var dTime: Long = 0
    fun clickAble(time: Long = 200L): Boolean {
        val result = Math.abs(System.currentTimeMillis() - dTime) > time
        if (result) dTime = System.currentTimeMillis()
        return result
    }

}